import config from '@/utils/config';
import { request } from '@/utils/http';
import { API } from '../model/baseModel';
import { ImageUploadResponse, ImageUploadModel } from '@/services/model/ImageUploadModel';

export function dataUpload(params: any) {
  return request.post<API<ImageUploadResponse>>(config.url.upload, params);
}
